Optimal. Leaf size=50 \[ -\frac {\tan ^{-1}\left (\frac {3-4 x}{3 \sqrt {3}}\right )}{18 \sqrt {3}}+\frac {1}{54} \log (3+2 x)-\frac {1}{108} \log \left (9-6 x+4 x^2\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 50, normalized size of antiderivative = 1.00, number of steps
used = 7, number of rules used = 7, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.412, Rules used = {26, 206, 31,
648, 632, 210, 642} \begin {gather*} -\frac {\text {ArcTan}\left (\frac {3-4 x}{3 \sqrt {3}}\right )}{18 \sqrt {3}}-\frac {1}{108} \log \left (4 x^2-6 x+9\right )+\frac {1}{54} \log (2 x+3) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 26
Rule 31
Rule 206
Rule 210
Rule 632
Rule 642
Rule 648
Rubi steps
\begin {align*} \int \frac {27-8 x^3}{729-64 x^6} \, dx &=\int \frac {1}{27+8 x^3} \, dx\\ &=\frac {1}{27} \int \frac {1}{3+2 x} \, dx+\frac {1}{27} \int \frac {6-2 x}{9-6 x+4 x^2} \, dx\\ &=\frac {1}{54} \log (3+2 x)-\frac {1}{108} \int \frac {-6+8 x}{9-6 x+4 x^2} \, dx+\frac {1}{6} \int \frac {1}{9-6 x+4 x^2} \, dx\\ &=\frac {1}{54} \log (3+2 x)-\frac {1}{108} \log \left (9-6 x+4 x^2\right )-\frac {1}{3} \text {Subst}\left (\int \frac {1}{-108-x^2} \, dx,x,-6+8 x\right )\\ &=-\frac {\tan ^{-1}\left (\frac {3-4 x}{3 \sqrt {3}}\right )}{18 \sqrt {3}}+\frac {1}{54} \log (3+2 x)-\frac {1}{108} \log \left (9-6 x+4 x^2\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.00, size = 50, normalized size = 1.00 \begin {gather*} \frac {\tan ^{-1}\left (\frac {-3+4 x}{3 \sqrt {3}}\right )}{18 \sqrt {3}}+\frac {1}{54} \log (3+2 x)-\frac {1}{108} \log \left (9-6 x+4 x^2\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.36, size = 39, normalized size = 0.78
method | result | size |
default | \(-\frac {\ln \left (4 x^{2}-6 x +9\right )}{108}+\frac {\sqrt {3}\, \arctan \left (\frac {\left (8 x -6\right ) \sqrt {3}}{18}\right )}{54}+\frac {\ln \left (2 x +3\right )}{54}\) | \(39\) |
risch | \(-\frac {\ln \left (16 x^{2}-24 x +36\right )}{108}+\frac {\sqrt {3}\, \arctan \left (\frac {\left (-3+4 x \right ) \sqrt {3}}{9}\right )}{54}+\frac {\ln \left (2 x +3\right )}{54}\) | \(39\) |
meijerg | \(-\frac {x \left (\ln \left (1-\frac {2 \left (x^{6}\right )^{\frac {1}{6}}}{3}\right )-\ln \left (1+\frac {2 \left (x^{6}\right )^{\frac {1}{6}}}{3}\right )+\frac {\ln \left (1-\frac {2 \left (x^{6}\right )^{\frac {1}{6}}}{3}+\frac {4 \left (x^{6}\right )^{\frac {1}{3}}}{9}\right )}{2}-\sqrt {3}\, \arctan \left (\frac {\sqrt {3}\, \left (x^{6}\right )^{\frac {1}{6}}}{3-\left (x^{6}\right )^{\frac {1}{6}}}\right )-\frac {\ln \left (1+\frac {2 \left (x^{6}\right )^{\frac {1}{6}}}{3}+\frac {4 \left (x^{6}\right )^{\frac {1}{3}}}{9}\right )}{2}-\sqrt {3}\, \arctan \left (\frac {\sqrt {3}\, \left (x^{6}\right )^{\frac {1}{6}}}{3+\left (x^{6}\right )^{\frac {1}{6}}}\right )\right )}{108 \left (x^{6}\right )^{\frac {1}{6}}}+\frac {x^{4} \left (\ln \left (1-\frac {4 \left (x^{6}\right )^{\frac {1}{3}}}{9}\right )-\frac {\ln \left (1+\frac {4 \left (x^{6}\right )^{\frac {1}{3}}}{9}+\frac {16 \left (x^{6}\right )^{\frac {2}{3}}}{81}\right )}{2}+\sqrt {3}\, \arctan \left (\frac {2 \sqrt {3}\, \left (x^{6}\right )^{\frac {1}{3}}}{9 \left (1+\frac {2 \left (x^{6}\right )^{\frac {1}{3}}}{9}\right )}\right )\right )}{108 \left (x^{6}\right )^{\frac {2}{3}}}\) | \(191\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.50, size = 38, normalized size = 0.76 \begin {gather*} \frac {1}{54} \, \sqrt {3} \arctan \left (\frac {1}{9} \, \sqrt {3} {\left (4 \, x - 3\right )}\right ) - \frac {1}{108} \, \log \left (4 \, x^{2} - 6 \, x + 9\right ) + \frac {1}{54} \, \log \left (2 \, x + 3\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.39, size = 38, normalized size = 0.76 \begin {gather*} \frac {1}{54} \, \sqrt {3} \arctan \left (\frac {1}{9} \, \sqrt {3} {\left (4 \, x - 3\right )}\right ) - \frac {1}{108} \, \log \left (4 \, x^{2} - 6 \, x + 9\right ) + \frac {1}{54} \, \log \left (2 \, x + 3\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.05, size = 48, normalized size = 0.96 \begin {gather*} \frac {\log {\left (x + \frac {3}{2} \right )}}{54} - \frac {\log {\left (x^{2} - \frac {3 x}{2} + \frac {9}{4} \right )}}{108} + \frac {\sqrt {3} \operatorname {atan}{\left (\frac {4 \sqrt {3} x}{9} - \frac {\sqrt {3}}{3} \right )}}{54} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.68, size = 35, normalized size = 0.70 \begin {gather*} \frac {1}{54} \, \sqrt {3} \arctan \left (\frac {1}{9} \, \sqrt {3} {\left (4 \, x - 3\right )}\right ) - \frac {1}{108} \, \log \left (x^{2} - \frac {3}{2} \, x + \frac {9}{4}\right ) + \frac {1}{54} \, \log \left ({\left | x + \frac {3}{2} \right |}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.09, size = 46, normalized size = 0.92 \begin {gather*} \frac {\ln \left (x+\frac {3}{2}\right )}{54}-\ln \left (x-\frac {3}{4}-\frac {\sqrt {3}\,3{}\mathrm {i}}{4}\right )\,\left (\frac {1}{108}+\frac {\sqrt {3}\,1{}\mathrm {i}}{108}\right )+\ln \left (x-\frac {3}{4}+\frac {\sqrt {3}\,3{}\mathrm {i}}{4}\right )\,\left (-\frac {1}{108}+\frac {\sqrt {3}\,1{}\mathrm {i}}{108}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________